ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Slava Semushin" <slava.semushin@gmail.com>
To: "ALT Linux Team development discussions" <devel@lists.altlinux.org>
Subject: Re: [devel] Множество MD5Init
Date: Thu, 11 Oct 2007 10:12:13 +0700
Message-ID: <75e139a00710102012w2f35d1aes313882f2f4aaf8c2@mail.gmail.com> (raw)
In-Reply-To: <200710110049.12175.lav@altlinux.ru>

2007/10/11, Vitaly Lipatov <lav / altlinux.ru>:
> Искал кто бы предоставил MD5Init, и столько нашёл
> библиотек. Мало того, что не знаю что выбрать, так ведь
> наверное такая ситуция не вполне нормальна?
[...]

Это все они таскают с собой старую версию библиотеки libcrypto (из
libssl). В какой-то там версии ф-ции MD5X изменили имена на MD5_X. Я,
у себя в ossec, выкрутился так:

 105 -#include "md5.h"
 106 +
 107 +#include <openssl/md5.h>
 108 +#define MD5Init MD5_Init
 109 +#define MD5Update MD5_Update
 110 +#define MD5Final MD5_Final

См. патч ossec-alt-src-use_system_ssl.patch
(http://git.altlinux.org/people/php_coder/packages/?p=ossec.git;a=blob;f=ossec-alt-src-use_system_ssl.patch;h=67a147349268a81f1a52581fa2541def1a55d72d;hb=6bd01b133800ea0d22c2fc25b2f36ea9203eed10)


-- 
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru

  parent reply	other threads:[~2007-10-11  3:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-10 20:49 Vitaly Lipatov
2007-10-10 20:54 ` Dmitry V. Levin
2007-10-10 23:36   ` Vitaly Lipatov
2007-10-12 21:40   ` Vitaly Lipatov
2007-10-12 22:08     ` Dmitry V. Levin
2007-10-13  7:01       ` Vitaly Lipatov
2007-10-11  2:27 ` Andrey Rahmatullin
2007-10-11  3:12 ` Slava Semushin [this message]
2007-10-12  8:22   ` Genix
2007-10-12  8:44     ` Slava Semushin
2007-10-12  9:29       ` Genix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=75e139a00710102012w2f35d1aes313882f2f4aaf8c2@mail.gmail.com \
    --to=slava.semushin@gmail.com \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git