Added GetCipherName() which takes an index
This commit is contained in:
parent
f043b90a7f
commit
57f2affe20
@ -159,6 +159,7 @@ void c32to24(word32 in, word24 out);
|
||||
/* used by ssl.c */
|
||||
const char* const* GetCipherNames(void);
|
||||
int GetCipherNamesSize(void);
|
||||
const char* GetCipherName(int);
|
||||
|
||||
/* Define or comment out the cipher suites you'd like to be compiled in
|
||||
make sure to use at least one BUILD_SSL_xxx or BUILD_TLS_xxx is defined
|
||||
|
@ -8259,6 +8259,11 @@ const char* const* GetCipherNames(void)
|
||||
{
|
||||
return cipher_names;
|
||||
}
|
||||
/* returns the cipher at the specified index of cipher_names */
|
||||
const char* GetCipherName(int index)
|
||||
{
|
||||
return cipher_names[index];
|
||||
}
|
||||
/* returns the size of the cipher_names array */
|
||||
int GetCipherNamesSize(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user