Replace EC flag with ssl_ciphersuite_uses_ec()
This commit is contained in:
parent
15d5de1969
commit
51451f8d26
3 changed files with 42 additions and 26 deletions
|
@ -171,7 +171,6 @@ typedef enum {
|
|||
typedef struct _ssl_ciphersuite_t ssl_ciphersuite_t;
|
||||
|
||||
#define POLARSSL_CIPHERSUITE_WEAK 0x01 /*<! Weak ciphersuite flag */
|
||||
#define POLARSSL_CIPHERSUITE_EC 0x02 /*<! EC-based ciphersuite flag */
|
||||
|
||||
/**
|
||||
* \brief This structure is used for storing ciphersuite information
|
||||
|
@ -200,6 +199,8 @@ const ssl_ciphersuite_t *ssl_ciphersuite_from_id( int ciphersuite_id );
|
|||
|
||||
pk_type_t ssl_get_ciphersuite_sig_pk_alg( const ssl_ciphersuite_t *info );
|
||||
|
||||
int ssl_ciphersuite_uses_ec( const ssl_ciphersuite_t *info );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue