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: Fri, 12 Oct 2007 15:44:20 +0700
Message-ID: <75e139a00710120144lb64871ew96244dcd9b7753d7@mail.gmail.com> (raw)
In-Reply-To: <470F2EC8.4050802@list.ru>

2007/10/12, Genix <genix / list.ru>:
> > у себя в 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
>
> с вашего позволения, поступлю в unshield так же, не изобретая велосипедов.

Я был очень удивлён, что подобных дефайнов, не было в хедерах самого
OpenSSL. Хотя с другой стороны, судя по google.com/codesearch раньше
такие костыли там были, но через несколько версий удалили...

P.S. Возможно, вам понадобится добавить ещё парочку подобных дефайнов
для других ф-ций, у меня тут только те, которые используются в коде
OSSEC.


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

  reply	other threads:[~2007-10-12  8:44 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
2007-10-12  8:22   ` Genix
2007-10-12  8:44     ` Slava Semushin [this message]
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=75e139a00710120144lb64871ew96244dcd9b7753d7@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