Re: Certificate verification fails on MIPS architecture

2008-05-26 Thread Till Elsner
object initialized.\n"); } // verify certificate if (X509_verify_cert(x509_ctx) != 1) { printf("Error: Certificate invalid!\n"); exit(1); } else { printf("Certificate checked and validated!\n&q

Re: Certificate verification fails on MIPS architecture

2008-05-26 Thread Till Elsner
Am 26.05.2008 um 13:13 schrieb Lutz Jaenicke: Till Elsner wrote: Ok, after verifying what platform I'm actually compiling for, it's definitely little-endian (Linksys WRT54G running on Broadcom BCM4712). So what else could be the problem here? Am 24.05.2008 um 22:23 schrieb Lutz

Re: Certificate verification fails on MIPS architecture

2008-05-26 Thread Till Elsner
Ok, after verifying what platform I'm actually compiling for, it's definitely little-endian (Linksys WRT54G running on Broadcom BCM4712). So what else could be the problem here? Am 24.05.2008 um 22:23 schrieb Lutz Jänicke: Till Elsner schrieb: Hi, I'm running a program usi

Re: Certificate verification fails on MIPS architecture

2008-05-23 Thread Till Elsner
Am 23.05.2008 um 05:44 schrieb Michael S. Zick: On Thu May 22 2008 16:59, Till Elsner wrote: Hi, I'm running a program using some OpenSSL features for certificate handling on an MIPS architecture (Linksys WRT router with OpenWRT firmware). On an x86 Linux everything works fine, but o

Certificate verification fails on MIPS architecture

2008-05-22 Thread Till Elsner
used matches the CA cert definitely. The setup that works on the x86 Linux is exactly the same. Are there any known problem with OpenSSL on MIPS platforms or running under OpenWRT. I've used the libs from OpenWRT SDK for compiling. Thanks in advance T

Re: Blind input

2008-04-09 Thread Till Elsner
Fantastic, thats exactly what I needed. Thanks a lot. Thanks ans regards Till Elsner Am 09.04.2008 um 16:16 schrieb Ambarish Mitra: I'm trying to read a password from console in a C program and I want prevent the entered password from actually appearing on the console, just the w

Blind input

2008-04-09 Thread Till Elsner
t the way it happens with e.g. system passwords. How to realize that? Thanks and regards Till Elsner __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-

Re: Public/private key encryption/decryption

2008-04-08 Thread Till Elsner
Seems like the problem disapeared now, even thought I cannot exactly tell why. Seems like I messed up some of that ugly pointer stuff that now works fine after some changes in the code. Again, thanks for your help. Thanks and regards Till Elsner Am 08.04.2008 um 09:04 schrieb shankar ks

Re: Public/private key encryption/decryption

2008-04-08 Thread Till Elsner
rsautl on the command-line. Thanks and regards Till Elsner Am 08.04.2008 um 09:04 schrieb shankar ks: Hi Till, The error u got is you can not read the public key as in the certificate it is not finding the lines as "BEGIN RSA CERTIFICATE" so here i am giving you the code , use i

Public/private key encryption/decryption

2008-04-07 Thread Till Elsner
he same using OpenSSL's rsautl command-line tool, it works perfectly with this key pair (public key/private key as well as certificate/private key). Both keys and certificate are in PEM format. The certificates signature is valid. Could anyone give me some hint what might be going on he

X509 common name

2008-04-07 Thread Till Elsner
Hi, is there any simple way to get the common name out of an certificate loaded to an X509 object via PEM_read_X509? Thanks in advance Till Elsner __ OpenSSL Project http://www.openssl.org