diff options
author | Richard Levitte <levitte@openssl.org> | 2003-10-06 12:18:39 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2003-10-06 12:18:39 +0000 |
commit | 377dcdba44742ce641521dd4745a37a7321b41bd (patch) | |
tree | 3dedbf83343be7d7f8726d8d74420f1379f077cf /ssl/ssl_ciph.c | |
parent | 8242354952ead170335b98b33254ca9a0e836926 (diff) |
Add functionality to get information on compression methods (not quite complete).
Diffstat (limited to 'ssl/ssl_ciph.c')
-rw-r--r-- | ssl/ssl_ciph.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index 44b50feff7..4f0f700790 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -1204,3 +1204,11 @@ int SSL_COMP_add_compression_method(int id, COMP_METHOD *cm) return(0); } } + +const char *SSL_COMP_get_name(const COMP_METHOD *comp) + { + if (comp) + return comp->name; + return NULL; + } + |