|
@@ -1518,6 +1518,10 @@ char *SSL_get_shared_ciphers(const SSL *s,char *buf,int len) |
|
|
|
|
|
|
|
|
p=buf; |
|
|
p=buf; |
|
|
sk=s->session->ciphers; |
|
|
sk=s->session->ciphers; |
|
|
|
|
|
|
|
|
|
|
|
if (sk_SSL_CIPHER_num(sk) == 0) |
|
|
|
|
|
return NULL; |
|
|
|
|
|
|
|
|
for (i=0; i<sk_SSL_CIPHER_num(sk); i++) |
|
|
for (i=0; i<sk_SSL_CIPHER_num(sk); i++) |
|
|
{ |
|
|
{ |
|
|
int n; |
|
|
int n; |
|
|