From 3ceb012bcc155d64537268246965ac877216a97c Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Thu, 25 Jun 2009 22:01:54 +0000
Subject: [PATCH] Fix for issue 4070: Wrong ASN.1 element type used encoding control

---
 opendj-sdk/opends/src/server/org/opends/server/controls/EntryChangeNotificationControl.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/controls/EntryChangeNotificationControl.java b/opendj-sdk/opends/src/server/org/opends/server/controls/EntryChangeNotificationControl.java
index f9f4607..dda2eb0 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/controls/EntryChangeNotificationControl.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/controls/EntryChangeNotificationControl.java
@@ -253,7 +253,7 @@
     writer.writeStartSequence(UNIVERSAL_OCTET_STRING_TYPE);
 
     writer.writeStartSequence();
-    writer.writeInteger(changeType.intValue());
+    writer.writeEnumerated(changeType.intValue());
 
     if (previousDN != null)
     {

--
Gitblit v1.10.0