关闭循环读取不同格式证书功能
This commit is contained in:
@@ -189,6 +189,7 @@ cert_load_x509(char *file, int *informat, STACK_OF(X509) **stack_ca)
|
|||||||
*informat = LOCAL_USER_PEN;
|
*informat = LOCAL_USER_PEN;
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
(void)BIO_reset (in);
|
(void)BIO_reset (in);
|
||||||
if ((x509 = cert_base_load_x509(in, stack_ca, LOCAL_USER_P12)) != NULL){
|
if ((x509 = cert_base_load_x509(in, stack_ca, LOCAL_USER_P12)) != NULL){
|
||||||
*informat = LOCAL_USER_P12;
|
*informat = LOCAL_USER_P12;
|
||||||
@@ -199,6 +200,7 @@ cert_load_x509(char *file, int *informat, STACK_OF(X509) **stack_ca)
|
|||||||
*informat = LOCAL_USER_DER;
|
*informat = LOCAL_USER_DER;
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
end:
|
end:
|
||||||
BIO_free (in);
|
BIO_free (in);
|
||||||
in = NULL;
|
in = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user