summarylogtreecommitdiffstats
path: root/aacskeys-0.4.0f.patch
blob: 283531297562e50e969aefe84d38d5f987fcb349 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Source this patch was generated from was located here:
https://mega.nz/folder/0NsgjBjA#mWAQnhDmCo8pJP5SUNi3Fw
--- aacskeys-0.4.0e/src/aacs_ecdsa.cpp	2012-05-10 11:26:42.000000000 -0500
+++ aacskeys-0.4.0f/src/aacs_ecdsa.cpp	2018-02-24 17:00:00.000000000 -0600
@@ -115,8 +115,8 @@
    const EC_GROUP * group = EC_KEY_get0_group(key);


-//   Support Bus Encryption flag (cert[1] might be 1)
-   if (((cert[1] != 0) && (cert[1] != 1)) || (cert[2] != 0x00) || (cert[3] != 0x5C)) {
+//   Support Bus Encryption flag (cert[1] might be 1 or 3)
+   if (((cert[1] != 0) && (cert[1] != 1) && (cert[1] != 3)) || (cert[2] != 0x00) || (cert[3] != 0x5C)) {
 //   if ((cert[1] != 0) || (cert[2] != 0x00) || (cert[3] != 0x5C)) {
       return -1;
    }
--- aacskeys-0.4.0e/src/aacskeys.cpp	2012-05-10 11:27:36.000000000 -0500
+++ aacskeys-0.4.0f/src/aacskeys.cpp	2018-02-24 17:00:00.000000000 -0600
@@ -1,5 +1,3 @@
-#undef JNILIB
-
 //
 // aacskeys.c : Application to retrieve all aacs keys used to decrypt a disc.
 //
@@ -1294,7 +1292,7 @@
    memset(tkfpath, 0, _MAX_PATH);
    memset(textbuffer, 0, 256);

-   (*rdprintf)("aacskeys 0.4.0e by arnezami, KenD00, Key, Nobu1789\n\n");
+   (*rdprintf)("aacskeys 0.4.0f by arnezami, KenD00, Key, Nobu1789, anon\n\n");

    // Very simple command line parser
    if (argc < 2) {
@@ -2390,7 +2388,7 @@
 JNIEXPORT jstring JNICALL Java_dumphd_aacs_AACSKeys_getVersionString
    (JNIEnv *env, jobject jobj) {
    // Return a string describing the library version
-   return env->NewStringUTF("aacskeys library 0.4.0e by arnezami, KenD00, Key, Nobu1789");
+   return env->NewStringUTF("aacskeys library 0.4.0f by arnezami, KenD00, Key, Nobu1789, anon");
 }

 /*