On Fri, Feb 06, 2009, The Doctor wrote:

> Right 
> in the tests we run into
> 
> There should be a 2 sequences of .'s and some +'s.
> There should not be more that at most 80 per line
> This could take some time.
> Generating a 512 bit RSA private key
> ..............++++++++++++
> .....++++++++++++
> writing new private key to 'testkey.pem'
> -----
> You are about to be asked to enter information that will be incorporated
> into your certificate request.
> What you are about to enter is what is called a Distinguished Name or a DN.
> There are quite a few fields but you can leave some blank
> For some fields there will be a default value,
> If you enter '.', the field will be left blank.
> -----
> Country Name (2 letter code) [AU]:AU
> State or Province Name (full name) [Queensland]:
> Locality Name (eg, city) []:Brisbane
> Organization Name (eg, company) []:CryptSoft Pty Ltd
> Organizational Unit Name (eg, section) []:.
> Common Name (eg, YOUR name) []:Eric Young
> Email Address []:[email protected]
> 134954328:error:0D0C30C6:asn1 encoding routines:ASN1_item_sign:digest and key 
> type not supported:a_sign.c:245:
> problems creating request
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop. 
> 
> Source of the problem
> 
> if (type->flags & EVP_MD_FLAG_PKEY_METHOD_SIGNATURE)
>                 {
>                 if (!pkey->ameth ||
>                         !OBJ_find_sigid_by_algs(&signid, EVP_MD_nid(type),
>                                                 pkey->ameth->pkey_id))
>                         {
>                         ASN1err(ASN1_F_ASN1_ITEM_SIGN,
>                                 ASN1_R_DIGEST_AND_KEY_TYPE_NOT_SUPPORTED);
>                         return 0;
>                         }
>                 }           
> 
> 
> Using
> 
> ./Configure 386 threads shared no-sse2 enable-whrlpool enable-montasm 
> enable-capieng enable-cms enable-seed enable-tlsext  enable-camellia 
> enable-rfc3779 enable-gmp enable-mdc2 enable-rc5 zlib-dynamic 
> --prefix=/usr/contrib --openssldir=/usr/contrib debug-bsdi-x86-elf ; gmake 
> update;gmake depend       
> to compile.
> 

Still can't reproduce it here. Can you try a vanilla build with:

./config

to see if you still get that?

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to