I was able to successful build Heimdal with your patches (openssl + autotools) on FreeBSD 4.2-Stable (which has OpenSSL integrated in the default installation). Both these patches and Jacques updated FreeBSD port pass trivial tests. Neither appears to resolve the ASN.1 problem I was having... so I guess I need to dig into that next. Kurt