Skip to content

Commit

Permalink
Merge pull request #49 from jimsch/master
Browse files Browse the repository at this point in the history
Fix tag for Encrypt0 messages
  • Loading branch information
jimsch authored Jan 19, 2017
2 parents e33b405 + c31be60 commit d4f7d91
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/COSE/Encrypt0Message.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public Encrypt0Message() {
* @param emitContent is the content emitted
*/
public Encrypt0Message(boolean emitTag, boolean emitContent) {
context = "Encrypt1";
context = "Encrypt0";
messageTag = MessageTag.Encrypt0;
this.emitTag = emitTag;
this.emitContent = emitContent;
Expand Down
1 change: 0 additions & 1 deletion src/test/java/COSE/Sign1MessageTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import org.bouncycastle.crypto.params.ECPublicKeyParameters;
import org.junit.After;
import org.junit.AfterClass;
import static org.junit.Assert.assertArrayEquals;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
Expand Down

0 comments on commit d4f7d91

Please sign in to comment.