Skip to content

Commit 87ce047

Browse files
committed
another if bugfix
1 parent c5bd9ee commit 87ce047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chap09/tls_get_cert.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ int main(int argc, char *argv[]) {
9494

9595

9696
SSL *ssl = SSL_new(ctx);
97-
if (!ctx) {
97+
if (!ssl) {
9898
fprintf(stderr, "SSL_new() failed.\n");
9999
return 1;
100100
}

0 commit comments

Comments
 (0)