Re: [openssl-dev] Creating requests and certificates with Subject Alternative Names

2017-09-22 Thread Howard Chu via openssl-dev
6-autoca;h=05e221b313225f23fe9986003eebcd3ba2be5ce8;hb=HEAD -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/ -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Re: [openssl-dev] libcrypto.pc needs to list libpthread as a dependency

2017-09-17 Thread Howard Chu via openssl-dev
Roumen Petrov wrote: Howard Chu via openssl-dev wrote: In OpenSSL 1.1 on Linux (at least) libcrypto now has a dependency on libpthread but this is not reflected in the pkgconfig file. As a result, tools like CMake fail to detect libcrypto properly when linking against the static library

[openssl-dev] libcrypto.pc needs to list libpthread as a dependency

2017-09-16 Thread Howard Chu via openssl-dev
pkgconfig file. For example: https://github.com/monero-project/monero/issues/2402#issuecomment-327514216 -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project

Re: [openssl-dev] SSL_library_init

2016-02-24 Thread Howard Chu
The Doctor wrote: As of 2106-20-24 SSL_librbary_init may not be avialable in the libssl.so . Wow, did you really come back 90 years in your TARDIS just to tell us this? -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc

Re: [openssl-dev] OpenSSL version 1.1.0 pre release 3 published

2016-02-16 Thread Howard Chu
ap getting loaded and unloaded this way a lot, and that naturally means libssl/libcrypto go along for the ride too. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.o

Re: [openssl-dev] [openssl.org #4274] OpenSSL 1.1 X509_NAME_der()

2016-02-03 Thread Howard Chu via RT
Thanks, yes, works fine. I saw your commit and merged our support for it already. http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=commit;h=6bb6d5e3c6269589f5e64805bd849174d62bd3ea -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://

Re: [openssl-dev] [openssl.org #4274] OpenSSL 1.1 X509_NAME_der()

2016-01-29 Thread Howard Chu via RT
Stephen Henson via RT wrote: > On Fri Jan 29 17:35:05 2016, steve wrote: >> On Fri Jan 29 15:08:47 2016, h...@highlandsun.com wrote: >>> Howard Chu via RT wrote: >>>> In OpenLDAP we reference X509_NAME->bytes->data directly, we want >>>> the >&g

Re: [openssl-dev] [openssl.org #4274] OpenSSL 1.1 X509_NAME_der()

2016-01-29 Thread Howard Chu via RT
Stephen Henson via RT wrote: > On Fri Jan 29 15:08:47 2016, h...@highlandsun.com wrote: >> Howard Chu via RT wrote: >>> In OpenLDAP we reference X509_NAME->bytes->data directly, we want the >>> DER >>> bytes which we then pass thru our own DN validator/fo

Re: [openssl-dev] [openssl.org #4274] OpenSSL 1.1 X509_NAME_der()

2016-01-29 Thread Howard Chu via RT
Howard Chu via RT wrote: > In OpenLDAP we reference X509_NAME->bytes->data directly, we want the DER > bytes which we then pass thru our own DN validator/formatter. This no longer > works with OpenSSL 1.1 and I don't see any provided method to return the DER > bytes. I don

Re: [openssl-dev] [openssl.org #4274] OpenSSL 1.1 X509_NAME_der()

2016-01-29 Thread Howard Chu
Howard Chu via RT wrote: In OpenLDAP we reference X509_NAME->bytes->data directly, we want the DER bytes which we then pass thru our own DN validator/formatter. This no longer works with OpenSSL 1.1 and I don't see any provided method to return the DER bytes. I don't want a mallo

[openssl-dev] [openssl.org #4274] OpenSSL 1.1 X509_NAME_der()

2016-01-26 Thread Howard Chu via RT
want read-only access to the bytes already cached inside the X509_NAME structure. The attached patch would be sufficient to meet this requirement. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Arch

Re: [openssl-dev] OpenSSL 1.1 X509_NAME issues

2016-01-26 Thread Howard Chu
Quanah Gibson-Mount wrote: --On Thursday, January 21, 2016 5:58 PM + Howard Chu wrote: In OpenLDAP we reference X509_NAME->bytes->data directly, we want the DER bytes which we then pass thru our own DN validator/formatter. This no longer works with OpenSSL 1.1 and I don't see a

[openssl-dev] OpenSSL 1.1 X509_NAME issues

2016-01-21 Thread Howard Chu
want read-only access to the bytes already cached inside the X509_NAME structure. for reference: https://github.com/openldap/openldap/blob/master/libraries/libldap/tls_o.c#L448 https://github.com/openldap/openldap/blob/master/libraries/libldap/tls_o.c#L475 -- -- Howard Chu CTO, Symas

[openssl-dev] OpenSSL 1.1 SSL_CTX issues

2016-01-21 Thread Howard Chu
to bump the ctx refcount twice, in SSL_new. Why is that? https://github.com/openssl/openssl/blob/master/ssl/ssl_lib.c#L670 https://github.com/openssl/openssl/blob/master/ssl/ssl_lib.c#L681 -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://hig

Re: [openssl.org #3288] openssl 1.1 - X509_check_host is wrong and insufficient

2014-04-01 Thread Howard Chu
Viktor Dukhovni wrote: On Tue, Apr 01, 2014 at 07:07:10PM -0700, Howard Chu wrote: Viktor Dukhovni wrote: I can contribute a patch, that addresses many of the issues. Things that I'm not immediately planning to address are: - Separate flag for wildcards in CN vs. wildcards i

Re: [openssl.org #3288] openssl 1.1 - X509_check_host is wrong and insufficient

2014-04-01 Thread Howard Chu
ts. It's a slippery slope, don't expect to get it right. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.

Re: Custom user-defined BIO

2010-04-12 Thread Howard Chu
at you are trying to do? --- On *Mon, 4/12/10, Phillip Hellewell /mailto:ssh...@gmail.com>>/* wrote: From: Phillip Hellewell mailto:ssh...@gmail.com>> Subject: Re: Custom user-defined BIO To: "Howard Chu" mailto:h...@highlandsun.com>> Cc:

Re: Custom user-defined BIO

2010-04-12 Thread Howard Chu
stify the time it takes to respond. In this case, define a BIO_METHOD struct with your handlers and just use it. One example is in OpenLDAP's libldap/tls_o.c. http://www.openldap.org/devel/cvsweb.cgi/~checkout~/libraries/libldap/tls_o.c?rev=1.16 -- -- Howard Chu CTO, Symas Corp.

Re: libcrypto safe for library use?

2010-03-30 Thread Howard Chu
ld be an issue. Many single-threaded programs wind up requiring the threading library on many platforms anyway as it may contain functions like 'clock_gettime' or 'sched_yield'. (Does anyone know of a platform

Re: libcrypto safe for library use?

2010-03-30 Thread Howard Chu
inside those OpenSSL API calls that isn't expected to be called from other threads at the same time. The API could work like a hybrid sigaction() allowing get-and-test-and-set in one atomic operation. This will require libpthread runtime linkage in libcrypto. Darryl ___

Re: libcrypto safe for library use?

2010-03-29 Thread Howard Chu
hentication realms. As such they tend to need to be configured with many trusted CAs. When you have a single process that can take on both server and client roles simulataneously, OpenSSL handles the situation easily. Other SSL libraries ... not so much... -- -- Howard Chu CTO, Symas

Re: UTF8 in certificate DN via OpenSSL's x.509 API

2009-07-16 Thread Howard Chu
Howard Chu wrote: Thor Lancelot Simon wrote: Can I assume that any data returned when I access the DN of a peer's certificate using OpenSSL are ASCII or UTF8? If not, how do I tell the difference? I think I understand that DNs not encoded as UTF8String should not have high-bit characte

Re: UTF8 in certificate DN via OpenSSL's x.509 API

2009-07-16 Thread Howard Chu
136&r2=1.137&hideattic=1&sortbydate=0&f=h -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/ _

Re: Determining if client requests ssl handshake

2009-07-06 Thread Howard Chu
send. Given that SMTP and POP clients wait for a 220 greeting from the server first, this seems disqualify them from this approach. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP

Re: s_client -starttls feature request (will pay)

2009-06-04 Thread Howard Chu
ate A tls_read: want=5, got=5 : 16 03 01 00 9f You haven't really explained enough of what you actually want to do yet, to give anyone a clear idea of what you're really asking for. Thanks again, John. 2009/6/4 Howard Chu: John Carter wrote: Howard, I appreciate that curren

Re: s_client -starttls feature request (will pay)

2009-06-04 Thread Howard Chu
marily interested in seeing the certificate, rather than doing anything useful with the connection. try "ldapsearch -ZZ -d7" ... I'll see if anyone's interested. John. 2009/6/3 Howard Chu: John Carter wrote: Hi, Currently the s_client command supports starttls for smtp, f

Re: s_client -starttls feature request (will pay)

2009-06-03 Thread Howard Chu
already support StartTLS... -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/ _

Re: x509 parsing

2009-03-18 Thread Howard Chu
arse" can mean a lot of different things. On Wed, Mar 18, 2009 at 4:22 PM, Vinod Chaudhary wrote: Hi, I want to parse the x509 certficate in my application using the openssl API not the command line tool. Can anybody help me ? -- -- Howard Chu CTO, Symas Corp. http:/

Re: multivalue RDNs don't display correctly in Requests

2008-06-08 Thread Howard Chu
Dr. Stephen Henson wrote: http://www.openssl.org/support/faq.html#USER13 Doh. Thanks, works fine. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project

multivalue RDNs don't display correctly in Requests

2008-06-07 Thread Howard Chu
_int( ber, &val ); tag = ber_peek_tag( ber, &len );/* DN: Sequence */ if ( tag != LBER_SEQUENCE ) return LDAP_INVALID_SYNTAX; derdn.bv_val = bv.bv_val + ber_ptrlen( ber ); derdn.bv_len = len + 2; ldap_X509dn2bv( &derdn, &dn, NULL, 0 );

Re: [openssl.org #1621] [PATCH] - OS390-Unix (EBCDIC) 0.9.7m

2007-12-13 Thread Howard Chu
OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED] -- -- Howard Chu Chief Architect, Symas Corp. http://

Re: Question about EBCDIC

2007-07-27 Thread Howard Chu
ect http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED] -- -- Howard Chu Chief Architect, Symas

[openssl.org #1346] Re: SSL_accept concurrency in 0.9.7j and 0.9.8b

2006-06-09 Thread Howard Chu via RT
Howard Chu wrote: > I'm seeing a lot of "bad record mac" errors when receiving a lot of > connection requests at once. It sounds the same as this email > http://www.redhat.com/archives/rhl-list/2005-May/msg01506.html > which unfortunately was never replied to. >

Re: SSL_accept concurrency in 0.9.7j

2006-06-08 Thread Howard Chu
Howard Chu wrote: I'm seeing a lot of "bad record mac" errors when receiving a lot of connection requests at once. It sounds the same as this email http://www.redhat.com/archives/rhl-list/2005-May/msg01506.html which unfortunately was never replied to. Surrounding the SSL_accep

SSL_accept concurrency in 0.9.7j

2006-05-19 Thread Howard Chu
mutex seems to resolve the problem. Is that supposed to be necessary? -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsun.com/hyc OpenLDAP Core Teamhttp://www.openl

Re: Any possibility of GPL-based license in the future?

2006-05-16 Thread Howard Chu
re the RMS pipedream you've been sucking down with regards to the BSD license compared to the GPL. Anyone who writes and sings a theme song for a software license is certifyable. Uh huh. -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sun

Re: [openssl.org #1292] SSL_add_dir_cert_subjects_to_stack does not check for read access of file, breaking TLS enabled LDAP clients

2006-03-14 Thread Howard Chu
/ldap.conf related URI ldaps://ldapserver/ #URIldap://ldapserver/ BASE dc=example,dc=com TLS_CACERTDIR /etc/pki# <- important! -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsun.com/hyc OpenLDAP Core

Re: Attribute order in name comparison

2006-01-24 Thread Howard Chu
NTABLESTRING :Demo CA Can anyone bring some light into the darkness? They are ordered sequence of unordered SET's of each element. The order inside "SET OF" is not important, but there is exactly one element in each SET OF. However, the order inside "SEQUENCE OF" is im

Re: [PATCH] Fix build for AmigaOS 4

2005-11-01 Thread Howard Chu
using m68k here? I wrote a M68K asm implementation of BigNum several years ago for my Atari TT (68030), made a 4:1 speed increase there. Haven't touched it in ages. -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp://highlandsun.com

Re: Options of building openssl for Win32 using gcc

2005-10-13 Thread Howard Chu
's on the fly. I was just thinking about the import libraries; a gcc-compiled DLL will work with an MSVC app if it's linked with the gcc-specific import library, and vice-versa. -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunht

Re: Options of building openssl for Win32 using gcc

2005-10-13 Thread Howard Chu
at make sparcv9-solaris8 make i686-mingw all do the right thing, whatever your toolchain setup is. It's really up to you to do something consistent/easy to manage. -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sunhttp:

Re: Finally time for IPvn support

2004-10-05 Thread Howard Chu
The Cisco one has the least amount of surprise in it, in my opinion. The "Cisco" solution *is* the standard solution: http://www.ietf.org/rfc/rfc2732.txt It would be best to avoid any non-standard formats... -- -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http:/

Re: Finally time for IPvn support

2004-10-04 Thread Howard Chu
Any suggestion? This is how Cisco does that: http://www.cisco.com/en/US/products/sw/iosswrel/ios_abcs_ios_the_abcs_ip_version_60900aecd800c111e.html I assumed this was the standard format. The software I've written so far (in OpenLDAP among other things) uses this approach. -- -- Howard C

Re: [openssl.org #912] Re: [PATCH] Back-translation of CA.pl into CA.sh

2004-07-04 Thread Howard Chu
inal. Korn shell is an extended one. Linux typically ships with BASH, the GNU Bourne-Again SHell which is an extended version of the original Bourne Shell. -- -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/h

RE: Win32 compiles under cygwin

2004-05-12 Thread Howard Chu
do you collect final .lib files. Which you intended to answer:-) A. I presume that these questions will be fully answered in any forthcoming patch... -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/

RE: Win32 compiles under cygwin

2004-05-11 Thread Howard Chu
velop and test. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTEC

RE: small 0.9.7c patch

2003-10-05 Thread Howard Chu
LLTOP)/lib/$$i.new; \ > > + chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i.new; \ > I seem to recall there is a performance hit on some platforms (HP ?) > if the shared libs are writable. Yes, HPUX 10.xx for sure, perhaps newer releases as well. -- Howard Chu Chief Archite

RE: [openssl.org #558] Patch Openssl 0.9.7a for AIX 5.2 to use /dev/urandom

2003-04-02 Thread Howard Chu
hile ((r > 0 || (errno == EINTR || errno == EAGAIN)) - && t.tv_usec != 0 && n < ENTROPY_NEEDED); - close(fd); } } I removed the loop; I doubt another one or two milliseconds will make any difference if it fails to fulfi

RE: [openssl.org #558] Patch Openssl 0.9.7a for AIX 5.2 to use /dev/urandom

2003-04-02 Thread Howard Chu
been set to Non-Blocking; either the driver will honor it or it won't. There's nothing more you can do. If you read from /dev/urandom and don't get the number of bytes you wanted, you're screwed anyway. -- Howard Chu Chief Architect, Symas Corp. Director, Highland

RE: [openssl.org #558] Patch Openssl 0.9.7a for AIX 5.2 to use /dev/urandom

2003-03-31 Thread Howard Chu
nerations of hackers, but some of its early design decisions remain to this day. So it goes. As someone once said, "Those who don't understand Unix are doomed to reimplement it, badly." -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.

RE: [openssl.org #558] Patch Openssl 0.9.7a for AIX 5.2 to use /dev/urandom

2003-03-31 Thread Howard Chu
x27;t recall if 4.1 had select() or not. Think about it. The fdset is a bit field. The nfds parameter tells select how far into the field it needs to look. Each bit corresponds to one fd. If you have fd#0, that corresponds to bit #1. This is why the number of fds is *always* the highest

RE: [PATCH] Howard Chu's EBCDIC-Port upgrade patch

2003-03-03 Thread Howard Chu
; (fixed in > attached patch). Ah, silly me. Thanks for catching that. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support ___

RE: [CVS] OpenSSL: openssl Makefile.org

2002-12-16 Thread Howard Chu
> -Original Message- > From: Richard Levitte - VMS Whacker [mailto:[EMAIL PROTECTED]] > In message <005201c2a53d$5f4523f0$0e01a8c0@CELLO> on Mon, 16 > Dec 2002 11:55:55 -0800, "Howard Chu" <[EMAIL PROTECTED]> said: > hyc> Please please please fo

RE: [CVS] OpenSSL: openssl Makefile.org

2002-12-16 Thread Howard Chu
t; > OK, I lied a message ago. In 0.9.8-dev's Makefile.shared, the first > ld is actually an ld, while the second shown above is done through cc > or gcc. Right. The first line must use ld to create the relocatable object, the final link can be done by cc / gcc / ld, whichever, as app

RE: [CVS] OpenSSL: openssl Makefile.org

2002-12-16 Thread Howard Chu
god knows how many different platform-specific and version-specific LD flags. You can use basic, plain Jane, SVR3/BSD4.2 syntax to get over the main hurdle, and then use the appropriate "-shared" flag for your linker of choice after the basic object file exists. -- Howard Chu Chief Ar

RE: [CVS] OpenSSL: openssl Makefile.org

2002-12-16 Thread Howard Chu
Please please please forget about that allextract nonsense. You will*never* get it portable to all desired platforms. Just take the lib*.a and relink it explicitly: mkdir tmp; cd tmp; ar x ../libcrypto.a; ld -r -o ../libcrypto.o *.o ld -G -o libcrypto.so libcrypto.o -l -- Howard

RE: OpenSSL and compression using ZLIB

2002-11-25 Thread Howard Chu
ither, so if you say it didn't work I believe you. But plain old LZW definitely does not have this problem, the compressor can do whatever it wants, and the decompressor will stay sync'd up because it detects these reset codes. -- Howard Chu Chief Architect, Symas Corp.

RE: [openssl.org #243] OpenSSL 0.9.6g fail on IBM OS/390

2002-11-14 Thread Howard Chu
to do this anyway, because the ca program was double-translating some of the certificate fields on display, turning them into garbage. (I alluded to that in this msg thread, in fact.) -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com

RE: OpenSSL PROBLEM on HP-UX 11.00 and 11.11 (11i)

2002-10-22 Thread Howard Chu
t it works without any issues. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support > -Original Message- > From: [EMAIL PROTECTED] > [mailt

RE: Makefile tweak 0.9.6g

2002-09-22 Thread Howard Chu
Argh... That last patch wasn't quite right. This one works a bit better. (Note that build-shared is serialized to allow parallel builds to work.) -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc

Makefile tweak 0.9.6g

2002-09-22 Thread Howard Chu
ld OpenSSL inside a larger project and while fixing problems in other directories we do a lot of top-level make invocations and it's annoying to have this trigger a rebuild all the time. (Because we have dependencies on libcrypto/libssl etc.) -- Howard Chu Chief Architect, Symas Corp. Dir

RE: [openssl.org #243] OpenSSL 0.9.6g fail on IBM OS/390

2002-08-31 Thread Howard Chu
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Dr. Stephen Henson > On Fri, Aug 30, 2002, Howard Chu wrote: > > > The output from testca is still a little dodgy, there are a > few certificate > > > fields that are

RE: [openssl.org #243] OpenSSL 0.9.6g fail on IBM OS/390

2002-08-30 Thread Howard Chu
Damn, sent an incomplete diff for crypto/x509v3/v3_utl.c. Sorry about that. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support > -Original Mess

RE: [openssl.org #243] OpenSSL 0.9.6g fail on IBM OS/390

2002-08-30 Thread Howard Chu
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Howard Chu > The output from testca is still a little dodgy, there are a few certificate > fields that are printed in ASCII that need to be translated to EBCDIC for > appearance&

RE: [openssl.org #243] OpenSSL 0.9.6g fail on IBM OS/390

2002-08-28 Thread Howard Chu
ea(int) blowfish(ptr) compiler: c89 -O -D_ALL_SOURCE -DB_ENDIAN -DCHARSET_EBCDIC -DNO_SYS_PARAM_H -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support >

RE: [openssl.org #243] OpenSSL 0.9.6g fail on IBM OS/390

2002-08-28 Thread Howard Chu
- t61=1; -#endif } if (t61) return(V_ASN1_T61STRING); if (ia5) return(V_ASN1_IA5STRING); The output from testca is still a little dodgy, there are a few certificate fields

RE: [openssl.org #243] OpenSSL 0.9.6g fail on IBM OS/390

2002-08-28 Thread Howard Chu
a pain. (At this point the obvious thing to do is just build all of OpenSSL with "-g" but the resulting objects with embedded debug symbols are huge, 10x size at least.) -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com

RE: linux-glibc/openssl des.h/crypt.h conflict

2002-08-12 Thread Howard Chu
om their environment. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL

Small patch to 0.9.6c crypto/objects/obj_dat.c

2002-04-17 Thread Howard Chu
) || no_name) { + if (no_name || (nid=OBJ_obj2nid(a)) == NID_undef) { len=a->length; p=a->data; (Just a slight speedup when I'm munging DNs by OID...) I hope you can commit this for 0.9.6d/0.9.7 without too much trouble. :) -- Howard Chu Chie

RE: Wrong DNs

2002-04-16 Thread Howard Chu
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Joop > On 02-04-16 10:51:31 CEST, Howard Chu wrote: > >In LDAP, the convention is to display the DNs in the > opposite order, > > but the semantic meaning of the

RE: Wrong DNs

2002-04-16 Thread Howard Chu
27;s just a matter of traversing the Name in the opposite order when parsing/printing it out. I believe this feature already was added in OpenSSL 0.9.6, so this whole discussion has been about a non-problem... -- Howard Chu Chief Architect, S

RE: Wrong DNs

2002-04-16 Thread Howard Chu
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Bell > Howard Chu schrieb: > > > -Original Message- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Bell &

RE: Wrong DNs

2002-04-16 Thread Howard Chu
other (non-openssl) tools to manage that encoding > > (LDAP trees). > > What do you want to say with this answer? The problem has nothing to do > with signature verification. If you use "openssl x509" or any other > openssl command then you will see a DN. The questio

RE: Solaris bc

2002-03-04 Thread Howard Chu
The last time I checked, dc is only a front-end for bc. It seems odd to me that dc can work correctly if bc is broken... -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource

RE: [MiNT] M68020 bn_asm

2002-02-22 Thread Howard Chu
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Zidlicky > On Tue, Feb 19, 2002 at 03:43:12PM -0800, Howard Chu wrote: > > I just checked the 68060 user manual, you're right. That means the plain > > 68000 code

RE: [MiNT] M68020 bn_asm

2002-02-19 Thread Howard Chu
ons was a poor choice, so this version avoids those instructions. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support > -Original Message- > Fro

RE: [MiNT] M68020 bn_asm

2002-02-19 Thread Howard Chu
I just checked the 68060 user manual, you're right. That means the plain 68000 code is needed on the 68060. (What a crock...) -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenS

M68020 bn_asm

2002-02-18 Thread Howard Chu
Here is a more thorough assembly implementation of bn_asm for Motorola 680x0 processors. On a 68030 the RSA/DSA test is over 4x faster than gcc -O3 code. I am releasing this version under the terms of the OpenSSL license. -- Howard Chu Chief Architect, Symas Corp. Director, Highland

OpenSSL BigNum library

2002-02-17 Thread Howard Chu
: "0"(n0), "1"(n1), "d"(d0) \ + : "cc");\ + q; \ + }) +# define REMAINDER_IS_ALREADY_CALCULATED # endif /* __ */ # endif /* __GNUC__ */ #endif /* NO_ASM */ -- Howard

compiler optimizations

2002-02-14 Thread Howard Chu
recreate it, but I will if no one else has one. My web client with 0.9.6 is now too slow, it cannot finish generating a key before the remote server times out the connection. (Speed tests on 0.8.0 vs 0.9.6 are 2-3x faster, which makes a big difference on my 32MHz 68030.) -- Howard Chu Chief

RE: DES changes...

2001-11-05 Thread Howard Chu
s, one can only guess that the clashes are at compile-time, due to mismatched function declarations between various header files and the library source. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc

RE: Shared libraries on AIX...

2001-04-27 Thread Howard Chu
That's right. I actually used: '-bM:SRE -bE:$*.exp -b noentry' I had to add explicit code to the Configure script to set this since I couldn't figure out how to embed colons in the configuration table. -- Howard Chu Chief Architect, Symas Corp. Director,

RE: Shared libraries on AIX...

2001-04-27 Thread Howard Chu
linker removes unreferenced objects. For Linux the flag is "-whole-archive", for Solaris "-z allextract". Obviously the contents of "lib/$(LIBXX).a" is assumed to be PIC code. I haven't configured this on any other platforms recently, so I don't have th

RE: [ANNOUNCEMENT] OpenSSL 0.9.6a Beta 1 released

2001-03-14 Thread Howard Chu
libdl didn't appear on AIX until 4.2. Jens Uwe-Mager wrote an emulation library for earlier AIX versions, to map the dlopen routines onto AIX's native dynamic loading implementation. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www

RE: stdout problem on NT only - our fix

2000-11-11 Thread Howard Chu
hat the value you see is really the address of an address, one is a pointer to stdout living in the DLL's space, and the other is a pointer to stdout residing in app space. Assuming that you have properly #include'd the compiler should have generated the proper code to reference the impor

RE: problems with `configure`..

2000-11-07 Thread Howard Chu
and similar, use the appropriate assignments instead: CPPFLAGS=-I/usr/local/ssl/include; export CPPFLAGS LDFLAGS=-L/usr/local/ssl/lib; export LDFLAGS -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc >

RE: Loading shared libraries under HP-UX on PA32

2000-11-07 Thread Howard Chu
course correct me if I'm misremembering. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Ri

[PATCH] apps/ca.c

2000-10-13 Thread Howard Chu
matching the given DN patched to store the actual cert filename in the index.txt database Howard Chu - Black GTS http://highlandsun.com http://people.we.mediaone.net/hyc --- ca.c2000/10/13 12:53:02 1.1 +++ ca.c2000/10/13 13:01:41 @@ -150,6 +150,7 @@ " -star

RE: Shared library problems with cyrus-sasl-1.5.24

2000-10-11 Thread Howard Chu
You're both correct. Since libcrypto.a was not compiled as PIC, it cannot be shared very much. The library will have static absolute address references that will be relocated at runtime, forcing page copies for every relocated reference. -- Howard Chu Chief Architect, Symas Corp. Dire

RE: more on ranlib

2000-10-11 Thread Howard Chu
ar r $@ $?; $(RANLIB) $@ On systems that don't need it, invoke make with RANLIB=: and the shell will ignore it. (Combine the ar and ranlib commands one one line, as above, to avoid an unnecessary additional spawn of sh for the possibly unneeded ranlib invocation...) -- Howard Chu Chief Architect,

ca.c patches

2000-10-11 Thread Howard Chu
lining this? What's the story on converting the autoconf/ automake and such? How about using libtool for the build process? -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc __

RE: more on ranlib

2000-10-11 Thread Howard Chu
approach was already suggested: do a single ranlib command in the superior makefile, after all the subdirectories have completed. Best is to also use a timestamp file to control when ranlib must be performed: libxxx.a: (whatever rules...) stamp-libxxx.a: libxxx.a $(RANLIB) $? tou

RE: [STATUS] OpenSSL (Sun 7-May-2000)

2000-05-08 Thread Howard Chu
I have a number of patches against 0.9.4 supporting shared libraries on AIX, Solaris, and NT. I plan to sync up with 0.9.5a and/or 0.9.6 in the next couple days. Let me know if you're interested in seeing the diffs. -- Howard Chu Chief Architect, Symas Corp. Director, Highlan

RE: [STATUS] OpenSSL (Sun 16-Apr-2000)

2000-04-16 Thread Howard Chu
seem to have moved - what exactly is Steve intending to improve in the certificate chain verification? How will it affect current functionality? -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc > -

RE: the API to load X509 from char*

2000-04-06 Thread Howard Chu
> -Original Message- > From: [EMAIL PROTECTED] > Howard Chu wrote: > > > > Yes, it's quite easy. This works for me in 0.9.4: > > (char *buf; int len; values should already be set) > > ... > > BIO *bi = BIO_new(BIO_s_mem()); > > BUF_MEM

RE: the API to load X509 from char*

2000-04-06 Thread Howard Chu
Yes, it's quite easy. This works for me in 0.9.4: (char *buf; int len; values should already be set) ... BIO *bi = BIO_new(BIO_s_mem()); BUF_MEM bf; X509 *x; bf.length = len; bf.data = buf; bf.max = bf.length; BIO_set_mem_buf(bi, &bf, 0); x = PEM_read_bio_X509(bi, NULL, NULL, NULL);

socket I/O, EOF, openssl 0.9.4

2000-01-14 Thread Howard Chu
ot;we're hosed, this connection is invalid" in the SSL_accept return status. -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc __ OpenS

socket I/O and EOF

2000-01-14 Thread Howard Chu
't figured out yet who's doing the wrong thing. This infinite loop may be caused by the ldap_pvt_tls_accept that we wrap around SSL_accept. The large number of loops even in the successful case seems to be a more general problem. -- Howard Chu Chief Architect, Symas Corp.