We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 43116f6 + 0721a15 commit f8a6e5bCopy full SHA for f8a6e5b
example/server/estserver.c
@@ -20,7 +20,12 @@
20
#ifndef DISABLE_TSEARCH
21
#include <search.h>
22
#endif
23
+#ifdef WIN32
24
+#include "../windows_util/getopt.h"
25
+#include <windows.h>
26
+#else
27
#include <getopt.h>
28
+#endif
29
#include <openssl/err.h>
30
#include <openssl/engine.h>
31
#include <openssl/conf.h>
@@ -572,7 +577,11 @@ static int lookup_pkcs10_request(unsigned char *pkcs10, int p10_len)
572
577
* would do this lookup. But this should be good enough for
573
578
* testing the retry-after logic.
574
579
*/
580
+#ifdef HAVE_OLD_OPENSSL
575
581
pkey = X509_PUBKEY_get(req->req_info->pubkey);
582
583
+ pkey = X509_PUBKEY_get(X509_REQ_get_X509_PUBKEY(req));
584
576
585
if (!pkey) {
586
rv = 1;
587
goto DONE;
0 commit comments