Turns out there was a problem with how the certificates were created. I followed another guide to create RootCA and IntCA, signed the server cert using IntCA, created a bundle using RootCA.crt and...
Type: Posts; User: Strobez
Turns out there was a problem with how the certificates were created. I followed another guide to create RootCA and IntCA, signed the server cert using IntCA, created a bundle using RootCA.crt and...
I posted below, it's working when i remove the Intermediate cert from the picture. Any ideas why i can't verify the while chain? I'm fairly sure the bundle file was okay.
I removed the Intermediate CA and signed the server cert directly with the RootCA, then used RootCA to verify the server.
It now works, however not as i'd hoped.
For now i guess it's not a C...
I'm using OpenSSL C API for both client and server. After using openssl s_client -connect localhost:4433 -CAfile /path/to/ca.crt in the terminal, it shows there is a problem with chain of trust....
I'm trying to get my head around Client/Server programming with the OpenSSL C API, I've managed to make requests and get the response on the client side, and there's no trouble when using my system...
I have not ignored it at all, it just got me wondering why, this code is in no way for production use i am just trying to get a good idea what the problem is, you suggested change from using strings,...
if only checking for 3 pieces on n*n it seems to work on any size, i tried just now with GRID_SIZE 5 and check for 3, it still ends the game.
Could you explain at what point you would expect it to...
Thanks, i simply chose arr for the board out of convenience, it was just intended to be a proof of concept in a way as I've not done much in the way of game programming and such.
I am bounds...
Okay, thanks. I was doing bounds checking on one attempt but then it worked without once i fixed the obvious mistake, so i wanted to keep it short. But if it's the better way then I'll revert back to...
I was missing the ==p on the first comparison.. Stupid mistake.
Here's where i am at, working as expected so far.
int checkMove(char *p, int y, int x) {
if...
Maybe not, still doesn't work >.<
I managed to solve this, by adding bounds checking in another helper function. If anyone can suggest a better way please inform me.
int checkMove(char *p, int y, int x) {
if...
I have this small program, i am trying to replicate naughts and crosses, AKA 3 in a row. I tried to write a function that checks all directions on the grid, but for some reason right now the function...
Okay great, thanks a lot!
I have been playing around with GTK+ for a few days when i have time spare, and I've learned to draw some simple 2D graphics with Cairo, i can get the graphic to render in a window, but how exactly...
It seems after restarting my system and running the IDE again it's managed to resolve the function :confused:
And i'm almost 100% sure it wasn't this difficult last time. :S
At least it is working...
I think modifying CMake file has helped with the issue of not finding functions, aside from one, being gtk_application_window_new() ?.
Here's my CMake file
cmake_minimum_required(VERSION...
Ok sorry, When i compile an example program using the terminal exactly as you described, it works, i still get a message 'failed to load module "canberra-gtk-module"', but it does compile, and it...
This is the output of aforementioned command.
ii libgtk-3-0:amd64 3.22.11-1 amd64 GTK+ graphical user interface library
ii libgtk-3-bin 3.22.11-1 ...
I have installed "apt-file" and that's okay, the output was exactly as yours shows in the example. But there's still a bunch of problems that seem to be possibly caused by dependencies such as glib....
I am using an install of Kali Linux. The thing is, I've tried almost every way possible to install using apt, as in multiple variants of gtk+-3.0 package name. I have a .bashrc entry that deletes...
So i have spent the better part of a day now trying to work this out myself, however i feel I'm almost at the point where it's becoming counter productive, as I've tried everything i can think of,...
The only message i have received was the welcome message when i first signed up. :confused:
That 100% did what i was looking for. Thanks heaps.
And i have been told that already but in not so nice words, i just figured my system is never facing the Internet directly, i have no ports...
I tried to post this earlier, but it seems like my post was not properly submitted.
I'm trying to build a simple hangman game in C, but part of my code is breaking everything else i've done.
Here...