mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-08 23:13:38 +08:00
jni api
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
# include <openssl/ecdh.h>
|
||||
# endif
|
||||
|
||||
# ifndef OPENSSL_NO_SM2
|
||||
# ifndef NO_GMSSL
|
||||
# include <openssl/sm2.h>
|
||||
# endif
|
||||
|
||||
|
||||
@@ -116,9 +116,6 @@ int X509_certificate_type(X509 *x, EVP_PKEY *pkey)
|
||||
case NID_X9_62_id_ecPublicKey:
|
||||
ret |= EVP_PKS_EC;
|
||||
break;
|
||||
#ifndef OPENSSL_NO_SM2
|
||||
/* what to do ? */
|
||||
#endif
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user