File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24719,6 +24719,16 @@ int wolfSSL_get_signature_nid(WOLFSSL *ssl, int* nid)
2471924719 return ret;
2472024720}
2472124721
24722+ int wolfSSL_get_peer_signature_nid(WOLFSSL* ssl, int* nid)
24723+ {
24724+ return wolfSSL_get_signature_nid(ssl, nid);
24725+ }
24726+
24727+ int wolfSSL_get_peer_signature_type_nid(const WOLFSSL* ssl, int* nid)
24728+ {
24729+ return wolfSSL_get_signature_nid((WOLFSSL*)ssl, nid);
24730+ }
24731+
2472224732#ifdef HAVE_ECC
2472324733
2472424734#if defined(WOLFSSL_TLS13) && defined(HAVE_SUPPORTED_CURVES)
Original file line number Diff line number Diff line change @@ -340,6 +340,8 @@ typedef STACK_OF(ACCESS_DESCRIPTION) AUTHORITY_INFO_ACCESS;
340340#define SSL_CTX_set1_sigalgs_list wolfSSL_CTX_set1_sigalgs_list
341341#define SSL_set1_sigalgs_list wolfSSL_set1_sigalgs_list
342342#define SSL_get_signature_nid wolfSSL_get_signature_nid
343+ #define SSL_get_peer_signature_nid wolfSSL_get_peer_signature_nid
344+ #define SSL_get_peer_signature_type_nid wolfSSL_get_peer_signature_type_nid
343345
344346#define SSL_CTX_set1_groups wolfSSL_CTX_set1_groups
345347#define SSL_set1_groups wolfSSL_set1_groups
Original file line number Diff line number Diff line change @@ -1132,6 +1132,9 @@ WOLFSSL_API int wolfSSL_CTX_up_ref(WOLFSSL_CTX* ctx);
11321132#ifdef OPENSSL_EXTRA
11331133WOLFSSL_API int wolfSSL_CTX_set_ecdh_auto (WOLFSSL_CTX * ctx , int onoff );
11341134WOLFSSL_API int wolfSSL_get_signature_nid (WOLFSSL * ssl , int * nid );
1135+ WOLFSSL_API int wolfSSL_get_peer_signature_nid (WOLFSSL * ssl , int * nid );
1136+ WOLFSSL_API int wolfSSL_get_peer_signature_type_nid (const WOLFSSL * ssl ,
1137+ int * nid );
11351138WOLFSSL_API int wolfSSL_CTX_set1_sigalgs_list (WOLFSSL_CTX * ctx ,
11361139 const char * list );
11371140WOLFSSL_API int wolfSSL_set1_sigalgs_list (WOLFSSL * ssl , const char * list );
You can’t perform that action at this time.
0 commit comments