Project

General

Profile

Bug #3231 » dotdotslash.patch

a proposed workaround for the ruby_1_9_2 branch - knu (Akinori MUSHA), 06/14/2010 09:00 PM

View differences:

ext/digest/bubblebabble/bubblebabble.c (working copy)
************************************************/
#include "ruby.h"
#include "digest.h"
#include "../digest.h"
static ID id_digest;
ext/digest/md5/md5init.c (working copy)
/* $RoughId: md5init.c,v 1.2 2001/07/13 19:49:10 knu Exp $ */
/* $Id$ */
#include "digest.h"
#include "../digest.h"
#if defined(HAVE_OPENSSL_MD5_H)
#include "md5ossl.h"
#else
ext/digest/md5/md5.h (working copy)
#ifndef MD5_INCLUDED
# define MD5_INCLUDED
#include "defs.h"
#include "../defs.h"
/*
* This code has some adaptations for the Ghostscript environment, but it
ext/digest/rmd160/rmd160.h (working copy)
#ifndef _RMD160_H_
#define _RMD160_H_
#include "defs.h"
#include "../defs.h"
typedef struct {
uint32_t state[5]; /* state (ABCDE) */
ext/digest/rmd160/rmd160ossl.c (working copy)
/* $Id$ */
#include "defs.h"
#include "../defs.h"
#include "rmd160ossl.h"
void RMD160_Finish(RMD160_CTX *ctx, char *buf) {
ext/digest/rmd160/rmd160init.c (working copy)
/* $RoughId: rmd160init.c,v 1.3 2001/07/13 20:00:43 knu Exp $ */
/* $Id$ */
#include "digest.h"
#include "../digest.h"
#if defined(HAVE_OPENSSL_RIPEMD_H)
#include "rmd160ossl.h"
#else
ext/digest/sha1/sha1init.c (working copy)
/* $RoughId: sha1init.c,v 1.2 2001/07/13 19:49:10 knu Exp $ */
/* $Id$ */
#include "digest.h"
#include "../digest.h"
#if defined(HAVE_OPENSSL_SHA_H)
#include "sha1ossl.h"
#else
ext/digest/sha1/sha1.h (working copy)
#ifndef _SYS_SHA1_H_
#define _SYS_SHA1_H_
#include "defs.h"
#include "../defs.h"
typedef struct {
uint32_t state[5];
ext/digest/sha1/sha1ossl.c (working copy)
/* $Id$ */
#include "defs.h"
#include "../defs.h"
#include "sha1ossl.h"
void
ext/digest/sha2/sha2ossl.c (working copy)
#include "defs.h"
#include "../defs.h"
#include "sha2ossl.h"
#define SHA_Finish(bit) \
ext/digest/sha2/sha2init.c (working copy)
/* $RoughId: sha2init.c,v 1.3 2001/07/13 20:00:43 knu Exp $ */
/* $Id$ */
#include "digest.h"
#include "../digest.h"
#if defined(SHA2_USE_OPENSSL)
#include "sha2ossl.h"
#else
ext/digest/sha2/sha2.c (working copy)
* $Id$
*/
#include "defs.h"
#include "../defs.h"
#include <string.h> /* memcpy()/memset() or bcopy()/bzero() */
#include <assert.h> /* assert() */
#include "sha2.h"
(4-4/4)