cann't start my phone when download openssl

2007-11-06 Thread zhang allen
I have compiled openssl lib in arm platform. my cpu is arm9 and the os is nucleus which is an embeded os. I have compiled the openssl success. after I download it to my phone, I find the boot failer. I can see the bootloader jump to the 0 address fail. Does the source code modify the 0 address? an

Re: Using an internal password

2007-11-06 Thread Dr. Stephen Henson
On Tue, Nov 06, 2007, John T. Cox wrote: > So, I went back and put in the ERR_print_errors and got this: > > 19239:error:0906B072:lib(9):func(107):reason(114):pem_lib.c:481: > > The online manual page describes what each field is. But, I cannot find any > documentation that explains what the err

Re: Using an internal password

2007-11-06 Thread John T. Cox
That was the problem. Thank you very much! On 11/6/07, Tim Hudson <[EMAIL PROTECTED]> wrote: > > John T. Cox wrote: > > So, I went back and put in the ERR_print_errors and got this: > > > > 19239:error:0906B072:lib(9):func(107):reason(114):pem_lib.c:481: > > > > The online manual page describes w

Re: Using an internal password

2007-11-06 Thread Tim Hudson
John T. Cox wrote: So, I went back and put in the ERR_print_errors and got this: 19239:error:0906B072:lib(9):func(107):reason(114):pem_lib.c:481: The online manual page describes what each field is. But, I cannot find any documentation that explains what the error code (19239) or reason strin

Re: Using an internal password

2007-11-06 Thread John T. Cox
So, I went back and put in the ERR_print_errors and got this: 19239:error:0906B072:lib(9):func(107):reason(114):pem_lib.c:481: The online manual page describes what each field is. But, I cannot find any documentation that explains what the error code (19239) or reason string (reason(114)) means.

Re: Using an internal password

2007-11-06 Thread John T. Cox
Thanks for pointing me in the right direction. I am only using RSA for this implementation. So, using those routines, keeps things simpler. I believe what I have now should. But, my read is returning a NULL. char keyfile[] = "/path/file" char *pass = get_pass() pkey = BIO_new_file(keyfile, "rb")

application data for symmetric keys

2007-11-06 Thread durgaprasad jammula
Hi all, For asymmetric keys like RSA, DSA and DH, we can set application data in ex_data variable in the corresponding structures [rsa_st, dsa_st, dh_st]. But for symmetric keys, I did not find any special data structure. Suppose, if I want to store application data for a symmetric key, is ther

Re: Using an internal password

2007-11-06 Thread Dr. Stephen Henson
On Tue, Nov 06, 2007, John T. Cox wrote: > Nevermind, > > Upon further review I realized I need to just NOT use load_key(). > > I probably need to use something like PEM_reas_bio_RSAPrivateKey(). > > I assume I can replace pem_password_cb *cb with my password function which > returns a char *?

Re: Using an internal password

2007-11-06 Thread John T. Cox
Nevermind, Upon further review I realized I need to just NOT use load_key(). I probably need to use something like PEM_reas_bio_RSAPrivateKey(). I assume I can replace pem_password_cb *cb with my password function which returns a char *? On 11/6/07, John T. Cox <[EMAIL PROTECTED]> wrote: > > I

Using an internal password

2007-11-06 Thread John T. Cox
I have need for an application to be able to decrypt messages public key encrypted messages. Instead of using a source file for the private key password, it is assembled inside the application. Normally you would use the load_key() function to load the private key from a file. And if you supply t

Re: ca client - failed to update database, TXT_DB error number 2

2007-11-06 Thread Bernhard Froehlich
Frank Garber schrieb: Hi Ted, Thanks for the help, but... Here's the line I added to the openssl.conf file: [ CA_default ] unique_subject = no Here's the error message. Note the output about the unique subject? Step 2:

Re: ca client - failed to update database, TXT_DB error number 2

2007-11-06 Thread Frank Garber
Hi Ted, Thanks for the help, but... Here's the line I added to the openssl.conf file: [ CA_default ] unique_subject = no Here's the error message. Note the output about the unique subject? Step 2: Sign the certificate ---

OpenSSL 0.9.7b version issue on the VxWorks board

2007-11-06 Thread Vijay Kumar
Hi all, If i use the openSSL version 0.9.7b (10th Apr 2003) on the Vxworks board MPC 8560 then the system calls like rand() are throwing an run-time exception. This is causing our application to core dump when we are running TLS calls on the board. This occurs when the openSSL init is called which