Bug in libssl-dev package, pem.h
Bug #692589 reported by
Alexander Kabakow
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssl (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
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_
We have complie error
error: invalid conversion from ‘void*’ to ‘char*’
error: initializing argument 4 of ‘int PEM_ASN1_
Changed in openssl (Ubuntu): | |
status: | New → Won't Fix |
To post a comment you must log in.
Here is declaration of PEM_ASN1_write_bio function:
int PEM_ASN1_ write_bio( i2d_of_ void *i2d,const char *name,BIO *bp,char *x, password_ cb *cb, void *u);
const EVP_CIPHER *enc,unsigned char *kstr,int klen,
pem_
And argument 4 type is char*, but
macro CHECKED_PTR_OF produces void*, and produces compile error