diff options
Diffstat (limited to 'ssl/t1_lib.c')
-rw-r--r-- | ssl/t1_lib.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index bf721929d7..494f42d4e7 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -270,6 +270,14 @@ int tls1_ec_nid2curve_id(int nid) #endif /* OPENSSL_NO_EC */ #ifndef OPENSSL_NO_TLSEXT + +int tls12_get_req_sig_algs(SSL *s, unsigned char *p) + { + if (p) + memcpy(p, tls12_sigalgs, sizeof(tls12_sigalgs)); + return (int)sizeof(tls12_sigalgs); + } + unsigned char *ssl_add_clienthello_tlsext(SSL *s, unsigned char *p, unsigned char *limit) { int extdatalen=0; |