Hi, I have an SSL client/server application,
on randomly basis, I got this error in my ssl server. When it does the
SSL_accept, it sometimes got following problem.
error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not
01
Then the handshake is failed. I am using SSLv3, and op
hi,
i was getting the block type not 01 because i was not reading
the complete data send. one should not use string functions when
trying to receive data as the encoded data with rsa encryption may
contain '\0' in the middle of the string.
the way i over the problem is by hexifying the data