summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2017-04-26 07:33:25 +0200
committerMichael Mann <mmann78@netscape.net>2017-06-05 23:43:03 +0000
commit502cc61711173273ffb8be2cf895f5e79c3b47bc (patch)
tree53db680580f3ca6a56461908330b9a30218a1449 /debian
parent1b228df643121ab2fabde34226701b9cd92401be (diff)
downloadwireshark-502cc61711173273ffb8be2cf895f5e79c3b47bc.tar.gz
Move RSA key loading and decryption functions to wsutil
Loading PEM and PKCS#11 keys was being done in static functions in packet-ssl-utils.c. These were moved to wsutil, with prototypes in a new <wsutil/rsa.h> header. This adds gnutls as optional dependency to wsutil. The RSA decryption helper was also moved and is now provided in <wsutil/wsgcrypt.h>. This allows more dissectors to access this functionality. Change-Id: I6cfbbf5203f2881c82bad721747834ccd76e2033 Reviewed-on: https://code.wireshark.org/review/21941 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'debian')
-rw-r--r--debian/libwsutil0.symbols5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/libwsutil0.symbols b/debian/libwsutil0.symbols
index 784392a606..42e3587d69 100644
--- a/debian/libwsutil0.symbols
+++ b/debian/libwsutil0.symbols
@@ -128,6 +128,11 @@ libwsutil.so.0 libwsutil0 #MINVER#
report_read_failure@Base 1.12.0~rc1
report_warning@Base 2.3.0
report_write_failure@Base 1.12.0~rc1
+ rsa_load_pem_key@Base 2.5.0
+ rsa_load_pkcs12@Base 2.5.0
+ rsa_decrypt_inplace@Base 2.5.0
+ rsa_private_key_free@Base 2.5.0
+ rsa_privkey_to_sexp@Base 2.5.0
running_in_build_directory@Base 1.12.0~rc1
running_with_special_privs@Base 1.10.0
scan_plugins@Base 1.12.0~rc1