Public bug reported:

Binary package hint: openssl

Error when tring to compile that code:

#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/pem.h>

SSL *p_ssl

BIO *p_mem_bio;
SSL_SESSION *p_session;

PEM_write_bio_SSL_SESSION(p_mem_bio, p_session);


We have complie error

error: invalid conversion from ‘void*’ to ‘char*’
error:   initializing argument 4 of ‘int PEM_ASN1_write_bio(int (*)(void*, 
unsigned char**), const char*, BIO*, char*, const EVP_CIPHER*, unsigned char*, 
int, int (*)(char*, int, int, void*), void*)’

** Affects: openssl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/692589

Title:
  Bug in libssl-dev package, pem.h

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to