diff -ru evolution-data-server-1.2.3.orig/camel/camel-cipher-context.h evolution-data-server-1.2.3/camel/camel-cipher-context.h
--- evolution-data-server-1.2.3.orig/camel/camel-cipher-context.h	2004-12-02 08:03:29.000000000 +0000
+++ evolution-data-server-1.2.3/camel/camel-cipher-context.h	2005-11-07 13:37:07.000000000 +0000
@@ -52,7 +52,10 @@
 	CAMEL_CIPHER_HASH_SHA1,
 	CAMEL_CIPHER_HASH_RIPEMD160,
 	CAMEL_CIPHER_HASH_TIGER192,
-	CAMEL_CIPHER_HASH_HAVAL5160
+	CAMEL_CIPHER_HASH_HAVAL5160,
+	CAMEL_CIPHER_HASH_SHA256,
+	CAMEL_CIPHER_HASH_SHA384,
+	CAMEL_CIPHER_HASH_SHA512
 } CamelCipherHash;
 
 enum _camel_cipher_validity_sign_t {
diff -ru evolution-data-server-1.2.3.orig/camel/camel-gpg-context.c evolution-data-server-1.2.3/camel/camel-gpg-context.c
--- evolution-data-server-1.2.3.orig/camel/camel-gpg-context.c	2005-02-01 05:57:15.000000000 +0000
+++ evolution-data-server-1.2.3/camel/camel-gpg-context.c	2005-11-07 13:42:44.000000000 +0000
@@ -122,7 +122,6 @@
 	case CAMEL_CIPHER_HASH_MD5:
 		return "pgp-md5";
 	case CAMEL_CIPHER_HASH_SHA1:
-	case CAMEL_CIPHER_HASH_DEFAULT:
 		return "pgp-sha1";
 	case CAMEL_CIPHER_HASH_RIPEMD160:
 		return "pgp-ripemd160";
@@ -130,6 +129,14 @@
 		return "pgp-tiger192";
 	case CAMEL_CIPHER_HASH_HAVAL5160:
 		return "pgp-haval-5-160";
+	case CAMEL_CIPHER_HASH_SHA256:
+		return "pgp-sha256";
+	case CAMEL_CIPHER_HASH_SHA384:
+		return "pgp-sha384";
+	case CAMEL_CIPHER_HASH_SHA512:
+		return "pgp-sha512";
+	case CAMEL_CIPHER_HASH_DEFAULT:
+		return "pgp-default";
 	}
 	
 	return NULL;
@@ -151,6 +158,14 @@
 			return CAMEL_CIPHER_HASH_TIGER192;
 		else if (!strcmp (id, "haval-5-160"))
 			return CAMEL_CIPHER_HASH_HAVAL5160;
+		else if (!strcmp (id, "pgp-sha256"))
+			return CAMEL_CIPHER_HASH_SHA256;
+		else if (!strcmp (id, "pgp-sha384"))
+			return CAMEL_CIPHER_HASH_SHA384;
+		else if (!strcmp (id, "pgp-sha512"))
+			return CAMEL_CIPHER_HASH_SHA512;
+		else if (!strcmp (id, "pgp-default"))
+			return CAMEL_CIPHER_HASH_DEFAULT;
 	}
 	
 	return CAMEL_CIPHER_HASH_DEFAULT;
@@ -476,6 +491,12 @@
 		return "--digest-algo=SHA1";
 	case CAMEL_CIPHER_HASH_RIPEMD160:
 		return "--digest-algo=RIPEMD160";
+	case CAMEL_CIPHER_HASH_SHA256:
+		return "--digest-algo=SHA256";
+	case CAMEL_CIPHER_HASH_SHA384:
+		return "--digest-algo=SHA384";
+	case CAMEL_CIPHER_HASH_SHA512:
+		return "--digest-algo=SHA512";
 	default:
 		return NULL;
 	}
