At Sat, 25 Jan 2020 12:36:57 -0800 (PST), Eric Dodd wrote: > getenv: contract violation > expected: string-environment-variable-name? > given: #f > context...: > > /usr/people/edodd/local/share/racket/collects/racket/private/misc.rkt:202:2: > getenv > /usr/people/edodd/local/share/racket/collects/openssl/mzssl.rkt:374:0: > x509-root-sources > > In mzssl.rkt, x509-root-sources(), it seems to handle finding openssl. Mine > is > located in a non-standard location. How do I pass this location in properly?
>From the error, it looks like (X509_get_default_cert_file_env) or (X509_get_default_cert_dir_env) may be returning #f (or NULL at the C level). Is that the case? If so, probably the solution is to check those results before passing them on to `getenv`. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/5e2d97f5.1c69fb81.79dfd.344bSMTPIN_ADDED_MISSING%40gmr-mx.google.com.