DeepT
August 4th, 2005, 03:17 PM
considerign the following code
#include <openssl/md5.h>
void main(void)
{
MD5_CTX c;
MD5_Init(&c);
}
The init crashes. The last 3 things on the call stack are:
0. Kill
1. Abort
2. UnidentifiedHandler
After searching for any examples I could find, this seems to be all people are doing, yet it doesn't work for me. Is there some call I need to initialized the whole cryptocgraphic system?
I also tried zeroing the varalbe, c, and that didnt change anything about the crash. I also tried the MD5("blahblah", len, ResultBuffer); and it crashed at the same place (it seemed, same looking assembly code).
Can someone tell me what I am doing wrong? BTW I am developing this under darwin (osx), but plan on using it under redhat linux too.
#include <openssl/md5.h>
void main(void)
{
MD5_CTX c;
MD5_Init(&c);
}
The init crashes. The last 3 things on the call stack are:
0. Kill
1. Abort
2. UnidentifiedHandler
After searching for any examples I could find, this seems to be all people are doing, yet it doesn't work for me. Is there some call I need to initialized the whole cryptocgraphic system?
I also tried zeroing the varalbe, c, and that didnt change anything about the crash. I also tried the MD5("blahblah", len, ResultBuffer); and it crashed at the same place (it seemed, same looking assembly code).
Can someone tell me what I am doing wrong? BTW I am developing this under darwin (osx), but plan on using it under redhat linux too.