Package: bip
Severity: important
Tags: patch
Hey,
As the subject says, bip doesn't make openssl load support for the sha-256
digest algorhytm. I've fixed a similar bug in fetchmail a while ago, see
Debian bug #576430 for a bit more info on the matter.
Attached is a simple patch that forces openssl to load support for everything
it knows :)
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- bip-0.7.4.orig/src/connection.c
+++ bip-0.7.4/src/connection.c
@@ -1121,6 +1121,9 @@
if (!ssl_initialized) {
SSL_library_init();
SSL_load_error_strings();
+ OpenSSL_add_all_algorithms();
+ ENGINE_load_builtin_engines ();
+
errbio = BIO_new_fp(stderr,BIO_NOCLOSE);
ssl_cx_idx = SSL_get_ex_new_index(0, "bip connection_t",