Opened 14 years ago

Last modified 7 years ago

#299 closed defect (Deferred)

crypto_global_init(): Initializing OpenSSL via tor_tls_init()

Reported by: arma Owned by: nickm
Priority: Low Milestone: 0.1.1.21
Component: Core Tor/Tor Version: 0.1.1.20
Severity: Keywords:
Cc: arma Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Jun 04 03:01:31.013 [warn] crypto_global_init(): Initializing OpenSSL via tor_tls_init().

We generate this warning on startup, when we follow certain codepaths that reach
tor_tls_init before they reach crypto_global_init. For example, if we enable
hibernation, then we init_keys before we crypto_global_init.

Is this a bug? If so, we should cause crypto_global_init to be called earlier.
If not, we should downgrade the log severity.

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (3)

comment:1 Changed 14 years ago by arma

There *is* at least one side-effect: when you initialize from tortls, it
can't know whether options->HardwareAccel is true or false. So eventually
we will want to fix this so crypto_global_init() gets told on its first
invocation whether it'll be using hardware accel.

I'm going to close this flyspray for now, since fixing hardware accel isn't
in the 0.1.2 timeframe.

comment:2 Changed 14 years ago by arma

flyspray2trac: bug closed.

comment:3 Changed 7 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.