mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-12 11:26:25 +08:00
add CBC-MAC and GM OTP, not tested
This commit is contained in:
13
ssl/ssl.h
13
ssl/ssl.h
@@ -1699,10 +1699,9 @@ struct ssl_st {
|
||||
# include <openssl/dtls1.h> /* Datagram TLS */
|
||||
# include <openssl/ssl23.h>
|
||||
# include <openssl/srtp.h> /* Support for the use_srtp extension */
|
||||
|
||||
#ifndef OPENSSL_NO_GMSSL
|
||||
#include <openssl/gmssl.h>
|
||||
#endif
|
||||
# ifndef OPENSSL_NO_GMSSL
|
||||
# include <openssl/gmssl1.h>
|
||||
# endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -2393,6 +2392,12 @@ const SSL_METHOD *DTLS_method(void); /* DTLS 1.0 and 1.2 */
|
||||
const SSL_METHOD *DTLS_server_method(void); /* DTLS 1.0 and 1.2 */
|
||||
const SSL_METHOD *DTLS_client_method(void); /* DTLS 1.0 and 1.2 */
|
||||
|
||||
#ifndef OPENSSL_NO_GMSSL
|
||||
const SSL_METHOD *GMSSLv1_method(void);
|
||||
const SSL_METHOD *GMSSLv1_server_method(void);
|
||||
const SSL_METHOD *GMSSLv1_client_method(void);
|
||||
#endif
|
||||
|
||||
STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *s);
|
||||
|
||||
int SSL_do_handshake(SSL *s);
|
||||
|
||||
Reference in New Issue
Block a user