LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-05-2015, 04:18 AM   #1
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 461

Rep: Reputation: 78
Stunnel uses old openssl library


Hello

I have just updated my openssl package on Slackware14.1. I use stunnel on this box for sendmail, httpd and imap. When I started the stunnel I have noticed that the Log message is showing an older Openssl library is used:

Quote:
Compiled/running with OpenSSL 1.0.1c 10 May 2012
Does it mean that although I updated the openssl for openssl-1.0.1k, as far as I use stunnel I use an outdated version of SSL library?

Thanks
 
Old 02-05-2015, 04:43 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
If stunnel is executable command, then you can run 'ldd stunnel' in shell to see which openssl it uses.
 
Old 02-05-2015, 10:26 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,659

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by hua View Post
Hello
I have just updated my openssl package on Slackware14.1. I use stunnel on this box for sendmail, httpd and imap. When I started the stunnel I have noticed that the Log message is showing an older Openssl library is used:

Does it mean that although I updated the openssl for openssl-1.0.1k, as far as I use stunnel I use an outdated version of SSL library?
Correct...that is the version of openssl that was compiled in to the stunnel program you're using. The easiest way to do this is to just re-compile your stunnel program from source, which will pick up the newly-installed library.
 
Old 02-05-2015, 11:46 AM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
You can check and see if there is a way to dynamically link openssl to stunnel instead of the static link that was done when you recompile. Possibly as a --enable-shared option in the ./configure options.
 
Old 02-05-2015, 11:47 AM   #5
turtleli
Member
 
Registered: Aug 2012
Location: UK
Posts: 206

Rep: Reputation: Disabled
No. You are using version 1.01k. From the build script used to build OpenSSL:

Code:
# OpenSSL has a (nasty?) habit of bumping the internal version number with
# every release.  This wouldn't be so bad, but some applications are so
# paranoid that they won't run against a different OpenSSL version than
# what they were compiled against, whether or not the ABI has changed.
#
# So, we will use the OPENSSL_VERSION_NUMBER from openssl-1.0.1c unless ABI
# breakage forces it to change.  Yes, we're finally using this old trick.  :)
sed -i "s/#define OPENSSL_VERSION_NUMBER.*/\/* Use 0x1000103fL (1.0.1c) below to avoid pointlessly breaking the ABI *\/\n#define OPENSSL_VERSION_NUMBER 0x1000103fL/g" crypto/opensslv.h || exit 1
 
4 members found this post helpful.
Old 02-24-2015, 08:48 AM   #6
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 461

Original Poster
Rep: Reputation: 78
Thanks turtleli.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: OpenBSD founder wants to bin buggy OpenSSL library, launches fork LXer Syndicated Linux News 0 04-22-2014 07:00 PM
Trying to install bro IDS having trouble reading/locating OpenSSL library jddancks Linux - Software 1 11-14-2013 01:43 AM
finding openssl library? vbsaltydog Fedora 2 07-13-2007 09:47 AM
cannot find -lcrypto in debian when using openssl library simon_qwl Programming 2 03-31-2007 01:50 PM
OpenSSL headers do not match your library theone333 Linux - Software 5 11-15-2002 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration