From dbb16ae0c3d44ff19de5836914d01eb31dc8168b Mon Sep 17 00:00:00 2001 From: fengweihao Date: Thu, 19 Sep 2019 20:20:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=E5=BE=AA=E7=8E=AF=E8=AF=BB?= =?UTF-8?q?=E5=8F=96=E4=B8=8D=E5=90=8C=E6=A0=BC=E5=BC=8F=E8=AF=81=E4=B9=A6?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/x509.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/x509.c b/src/x509.c index e40ad77..3f25559 100644 --- a/src/x509.c +++ b/src/x509.c @@ -189,6 +189,7 @@ cert_load_x509(char *file, int *informat, STACK_OF(X509) **stack_ca) *informat = LOCAL_USER_PEN; goto end; } +#if 0 (void)BIO_reset (in); if ((x509 = cert_base_load_x509(in, stack_ca, LOCAL_USER_P12)) != NULL){ *informat = LOCAL_USER_P12; @@ -199,6 +200,7 @@ cert_load_x509(char *file, int *informat, STACK_OF(X509) **stack_ca) *informat = LOCAL_USER_DER; goto end; } +#endif end: BIO_free (in); in = NULL;