commit | a20c58c6f19453b966b0e36219be0c206b657e44 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Aug 22 13:52:48 2013 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Aug 27 22:21:20 2013 +0200 |
tree | a0e7138dac07b103f3089a819c04c2ea36091241 | |
parent | 51be559c537e62f4057be7fda6723bd347e1ce2b [diff] [blame] |
Use convert functions for SSL_SIG_* and SSL_HASH_*
diff --git a/include/polarssl/ssl.h b/include/polarssl/ssl.h index dfd6490..e83fbbf 100644 --- a/include/polarssl/ssl.h +++ b/include/polarssl/ssl.h
@@ -1385,6 +1385,8 @@ void ssl_optimize_checksum( ssl_context *ssl, const ssl_ciphersuite_t *ciphersuite_info ); unsigned char ssl_sig_from_pk( pk_context *pk ); +pk_type_t ssl_pk_alg_from_sig( unsigned char sig ); +md_type_t ssl_md_alg_from_hash( unsigned char hash ); #ifdef __cplusplus }